package com.example.project_01.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.project_01.pojo.basePojo.SuperPojo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sale")
@Schema(title = "药品售卖地点实体类")
public class Sale extends SuperPojo {
    @Schema(title = "药店id")
    private Long saleId;   //药店id
    @Schema(title = "药店名")
    private String saleName;    //药店名
    @Schema(title = "药店电话")
    private String salePhone;   //药店电话
    @TableField("createtime")
    private Date createTime;
    @TableField("updatetime")
    private Date updateTime;

}
